//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamScheduleItemDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IExamScheduleItemService;
//import com.rt.schedulebase.entity.ExamScheduleItem;
//import com.rt.schedulebase.mapper.ExamScheduleItemMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class ExamScheduleItemServiceImpl extends ServiceImpl<ExamScheduleItemMapper, ExamScheduleItem> implements IExamScheduleItemService
//{
//@Override
//    public boolean insertSelective(final ExamScheduleItem examScheduleItem) {
//        return this.retBool(Integer.valueOf(((ExamScheduleItemMapper)this.baseMapper).insert(examScheduleItem)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamScheduleItemMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final ExamScheduleItem examScheduleItem) {
//        return this.retBool(Integer.valueOf(((ExamScheduleItemMapper)this.baseMapper).updateById(examScheduleItem)));
//    }
//
//@Override
//    public ExamScheduleItem selectByPrimaryKey(final String key) {
//        return (ExamScheduleItem)((ExamScheduleItemMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<ExamScheduleItem> getList(final ExamScheduleItemDto dto) {
//        final QueryWrapper<ExamScheduleItem> qw = (QueryWrapper<ExamScheduleItem>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("SCHEDULED_ID", dto.getScheduledId());
//        map.put("QUEUE_NO", dto.getQueueNo());
//        map.put("QUEUE_NAME", dto.getQueueName());
//        map.put("EXAM_NO", dto.getExamNo());
//        map.put("EXAM_STATUS", dto.getExamStatus());
//        map.put("APPLY_NO", dto.getApplyNo());
//        qw.allEq((Map)map, false);
//        final List<ExamScheduleItem> list = (List<ExamScheduleItem>)((ExamScheduleItemMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<ExamScheduleItem> getListAll() {
//        return (List<ExamScheduleItem>)((ExamScheduleItemMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final ExamScheduleItem examScheduleItem) {
//        final UpdateWrapper<ExamScheduleItem> uw = (UpdateWrapper<ExamScheduleItem>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", examScheduleItem.getApplyNo());
//        map.put("ITEM_NO", examScheduleItem.getItemNo());
//        map.put("SCHEDULED_ID", examScheduleItem.getScheduledId());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamScheduleItemMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final ExamScheduleItem examScheduleItem) {
//        final UpdateWrapper<ExamScheduleItem> uw = (UpdateWrapper<ExamScheduleItem>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", examScheduleItem.getApplyNo());
//        map.put("ITEM_NO", examScheduleItem.getItemNo());
//        map.put("SCHEDULED_ID", examScheduleItem.getScheduledId());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamScheduleItemMapper)this.baseMapper).update(examScheduleItem, (Wrapper)uw)));
//    }
//
//@Override
//    public ExamScheduleItem getInfo(final ExamScheduleItemDto dto) {
//        final QueryWrapper<ExamScheduleItem> qw = (QueryWrapper<ExamScheduleItem>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("SCHEDULED_ID", dto.getScheduledId());
//        map.put("ITEM_NO", dto.getItemNo());
//        map.put("APPLY_NO", dto.getApplyNo());
//        qw.allEq((Map)map, false);
//        return (ExamScheduleItem)((ExamScheduleItemMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
